package com.itjin.model.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;

@TableName(value = "post")
@Data
public class Post {
  @TableId(type = IdType.AUTO)
  private Integer id;
  private Integer authorId;
  private String title;
  private String content;
  private String image1;
  private String image2;
  private String image3;
  private String image4;
  private String image5;
  private String image6;
  private String image7;
  private String image8;
  private String image9;
  private Integer type;
  private Integer isAnonymous;
  private String tags;
  private Date createTime;
  private Date updateTime;
  private Integer postStatus;
  private Integer viewsCount;
  private Integer commentsCount;
  private Integer likesCount;
  private Integer collectsCount;
  /**
   * 帖子热度值
   */
  private Integer heatCount;
  /**
   * 是否被举报（0-未被举报，1-已被举报）
   */
  @TableField("isReport")
  private Integer isReport;

  /**
   * 被举报次数
   */
  @TableField("reportCount")
  private Integer reportCount;


}